#include "shop.h"
#include "mainpage.h"
#include "zhifu.h"
#include "ui_shop.h"

shop::shop(QWidget *parent) :
    QWidget(parent),
    ui(new Ui::shop)
{
    ui->setupUi(this);
    QPixmap *pix = new QPixmap(":/shopphoto/shop1.jpg");
    QSize sz = ui->label_image->size();
    ui->label_image->setPixmap(pix->scaled(sz));
}

shop::~shop()
{
    delete ui;
}

void shop::on_pushButton_clicked()
{
    mainpage *w =new mainpage;
    w -> show();
    this -> close();
}

void shop::on_pushButton_2_clicked()
{
    zhifu *w = new zhifu;
    w ->show();
    this -> close();
}

void shop::on_pushButton_3_clicked()
{
    QMessageBox::information(this,"提示","功能尚在开发中，敬请期待！");
}
